using System;
using BusinessPlatform.Core;
using BusinessPlatform.Core.BusinessObject;

namespace NewStartModels.Models.User
{
    /// <summary>
    /// 用户
    /// </summary>
    public interface IUser : IBusinessObjectBase
    {
        /// <summary>
        /// 对象
        /// </summary>
        System.String ObjectType { get; set; }

        /// <summary>
        /// 用户编号
        /// </summary>
        System.Int32 UserID { get; set; }

        /// <summary>
        /// 可用
        /// </summary>
        BusinessPlatform.Data.Enumerator.BOYesOrNo Activated { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        System.Int32 Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        System.DateTime CreateDate { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        System.Int32 Updator { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        System.DateTime UpdateDate { get; set; }

        /// <summary>
        /// 用户代码
        /// </summary>
        System.String UserCode { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        System.String UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        System.String Password { get; set; }

        /// <summary>
        /// 超级用户
        /// </summary>
        BusinessPlatform.Data.Enumerator.BOYesOrNo IsSupperUser { get; set; }

        /// <summary>
        /// 员工号
        /// </summary>
        System.Int32 EmployeeID { get; set; }

        /// <summary>
        /// 分属\分支
        /// </summary>
        System.String Branch { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        System.String Department { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        System.String Remarks { get; set; }
    }
}